<<<<<<< .mine
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Moriarty_AllTests::main');
}

require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';

require_once 'fakehttprequest.class.php';
require_once 'fakerequestfactory.class.php';

require_once 'changeset.test.php';
require_once 'changesetbatch.test.php';
require_once 'store.test.php';
require_once 'metabox.test.php';
require_once 'sparqlservice.test.php';
require_once 'fieldpredicatemap.test.php';
require_once 'valuepool.test.php';
require_once 'httprequest.test.php';
require_once 'credentials.test.php';
require_once 'privategraph.test.php';
require_once 'contentbox.test.php';
require_once 'multisparqlservice.test.php';
require_once 'jobqueue.test.php';
require_once 'tripleindex.test.php';
require_once 'simplegraph.test.php';


error_reporting(E_ALL );
function exceptions_error_handler($severity, $message, $filename, $lineno) {
  if (error_reporting() == 0) {
    return;
  }
  if (error_reporting() & $severity) {
    throw new ErrorException($message, 0, $severity, $filename, $lineno);
  }
}
set_error_handler('exceptions_error_handler');

function debug_exception_handler($ex) {
  echo "<p style='font-family:helvetica,sans-serif'>";
  echo "<b>Error :</b>".$ex->getMessage()."<br />";
  echo "<b>Code :</b>".$ex->getCode()."<br />";
  echo "<b>File :</b>".$ex->getFile()."<br />";
  echo "<b>Line :</b>".$ex->getLine()."</p>";
  echo "<div style='font-family:garamond'>".nl2br($ex->getTraceAsString())."</div>";
  exit;
}
set_exception_handler('debug_exception_handler');


class Moriarty_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }

    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Moriarty Framework Tests');

        $suite->addTestSuite('StoreTest');
        $suite->addTestSuite('SparqlServiceTest');
        $suite->addTestSuite('FieldPredicateMapTest');
        $suite->addTestSuite('ChangesetBatchTest');
        $suite->addTestSuite('ChangesetTest');
        $suite->addTestSuite('CredentialsTest');
        $suite->addTestSuite('ValuePoolTest');
        $suite->addTestSuite('HttpRequestTest');
        $suite->addTestSuite('PrivateGraphTest');
        $suite->addTestSuite('MetaboxTest');
        $suite->addTestSuite('ContentboxTest');
        $suite->addTestSuite('MultiSparqlServiceTest');
        $suite->addTestSuite('JobQueueTest');
        $suite->addTestSuite('TripleIndexTest');
        $suite->addTestSuite('SimpleGraphTest');

        return $suite;
    }
}

if (PHPUnit_MAIN_METHOD == 'Moriarty_AllTests::main') {
    Moriarty_AllTests::main();
}

=======
<?php
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Moriarty_AllTests::main');
}

require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';

require_once 'fakehttprequest.class.php';
require_once 'fakerequestfactory.class.php';

require_once 'changeset.test.php';
require_once 'changesetbatch.test.php';
require_once 'store.test.php';
require_once 'metabox.test.php';
require_once 'sparqlservice.test.php';
require_once 'fieldpredicatemap.test.php';
require_once 'valuepool.test.php';
require_once 'httprequest.test.php';
require_once 'credentials.test.php';
require_once 'privategraph.test.php';
require_once 'contentbox.test.php';
require_once 'multisparqlservice.test.php';
require_once 'jobqueue.test.php';
require_once 'simplegraph.test.php';
require_once 'config.test.php';


error_reporting(E_ALL );
function exceptions_error_handler($severity, $message, $filename, $lineno) {
  if (error_reporting() == 0) {
    return;
  }
  if (error_reporting() & $severity) {
    throw new ErrorException($message, 0, $severity, $filename, $lineno);
  }
}
set_error_handler('exceptions_error_handler');

function debug_exception_handler($ex) {
  echo "<p style='font-family:helvetica,sans-serif'>";
  echo "<b>Error :</b>".$ex->getMessage()."<br />";
  echo "<b>Code :</b>".$ex->getCode()."<br />";
  echo "<b>File :</b>".$ex->getFile()."<br />";
  echo "<b>Line :</b>".$ex->getLine()."</p>";
  echo "<div style='font-family:garamond'>".nl2br($ex->getTraceAsString())."</div>";
  exit;
}
set_exception_handler('debug_exception_handler');


class Moriarty_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }

    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Moriarty Framework Tests');

        $suite->addTestSuite('StoreTest');
        $suite->addTestSuite('SparqlServiceTest');
        $suite->addTestSuite('FieldPredicateMapTest');
        $suite->addTestSuite('ChangesetBatchTest');
        $suite->addTestSuite('ChangesetTest');
        $suite->addTestSuite('CredentialsTest');
        $suite->addTestSuite('ValuePoolTest');
        $suite->addTestSuite('HttpRequestTest');
        $suite->addTestSuite('PrivateGraphTest');
        $suite->addTestSuite('MetaboxTest');
        $suite->addTestSuite('ContentboxTest');
        $suite->addTestSuite('MultiSparqlServiceTest');
        $suite->addTestSuite('JobQueueTest');
        $suite->addTestSuite('SimpleGraphTest');
        $suite->addTestSuite('ConfigTest');

        return $suite;
    }
}

if (PHPUnit_MAIN_METHOD == 'Moriarty_AllTests::main') {
    Moriarty_AllTests::main();
}

>>>>>>> .r405
?>
